#pragma once

#include<iostream>
#include<string>
#include<vector>
#include<unistd.h>
#include<stdlib.h>
#include<cassert>
#include<ctime>
#include<sys/stat.h>
#include<sys/wait.h>


using namespace std;

typedef void(*task_t)();
vector<task_t> tasks;

void task1()
{
    cout<<"lol 刷新日志"<<endl;
}

void task2()
{
    cout<<"lol 更新野区，刷新野怪"<<endl;
}

void task3()
{
    cout<<"lol 检查软件是否更新"<<endl;
}

void task4()
{
    cout<<"lol 用户释放技能，更新血量"<<endl;
}

void load_task(vector<task_t> *tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}